package one.stand.service;

import com.alibaba.fastjson.JSON;
import one.stand.OneCrmServiceApplicationTests;
import one.stand.request.CompanyCustomerLableRequest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;

import java.util.*;

@TestConfiguration
public class Lable  extends OneCrmServiceApplicationTests {
    @Autowired
    CompanyCustomerLableService companyCustomerLableService;
    @Test
    public void getTree(){
        System.err.println(JSON.toJSON(companyCustomerLableService.getTree(new CompanyCustomerLableRequest(){{
            setCId(7L);
        }})));

        Set set = new HashSet();
        Set set1 = new LinkedHashSet();

        Map map = new HashMap();
        Map map1 = new Hashtable();

        List list = new ArrayList();
        list.add("");
        list.add("");
        List list1 = new LinkedList();
        list1.add("");
        list1.add("");

        StringBuilder stringBuilder;
        StringBuffer stringBuffer;

        List vector = new Vector();
        ((Vector) vector).addElement("");
    }

}
